<template>
  <view class="content">
    <view class="column-between">
      <u-button text="月落"></u-button>
      <u-button text="月落"></u-button>
      <u-button text="月落"></u-button>
      <my-upload />
    </view>
  </view>
</template>

<script>
export default {
  data () {
    return {
      title: '前端模板'
    }
  },
  onLoad () {
    console.log(this.$store.state.hasLogin)
    this.ceshi()
  },

  methods: {
    ceshi () {

      console.log('全局请求路径:' + this.$BASE_URL,)
      console.log('全局方法:' + this.$UPLOAD,)
      console.log('全局方法:' + this.$JUDGMENT,)
      console.log('全局方法:' + this.$navTo,)
      console.log('全局方法:' + this.$reTo,)
      console.log('全局方法:' + this.$back,)
      console.log('全局方法:' + this.$ALIPAY_PAY,)
      console.log('全局方法:' + this.$WEIXIN_PAY,)
      console.log('全局方法:' + this.$MP_WEIXIN_PAY,)
      console.log('全局方法:' + this.$WX_ADDRESS,)
      console.log('全局方法:' + this.$PLANNING_ROUTER,)
      console.log('全局方法:' + this.$GET_GAODE__ADDRESS,)
      console.log('全局方法:' + this.$PHONE,)
      console.log('全局方法:' + this.$nickName,)
    },
    async pay () {
      this.$MSG.message('kkkk')
      this.$store.commit('sethasLogin', 2222)
      console.log(this.$store.state.hasLogin)
      // const res = await this.$WEIXIN_PAY()
    }
  }
}
</script>

<style>
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 200rpx;
  width: 200rpx;
  margin-top: 200rpx;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50rpx;
}

.text-area {
  display: flex;
  justify-content: center;
}

.title {
  font-size: 36rpx;
  color: #8f8f94;
}
</style>
